<?php include "../public/header.php";?>
<?php include "../public/header_show.php";?>
<body id="xiangqingPage">
<div id="xiangqingBox">
    <div class="page-title">
        <div class="page-title-con">
            <span class="pageshowtitle">详情</span>
            <div class="page-title-opt-list">
                <button class="layui-btn layui-btn-sm btn-light marginr5 opt">
                    操作<i class="layui-icon layui-icon-down layui-font-12"></i>
                </button>
                <span id="page-close" class="page-close" onclick="layer_close()">×</span>
            </div>
        </div>
    </div>
    <div class="main-container">
        <div class="table-box tablenes">
            <div class="title">基本信息</div>
            <table class="layui-table">
                <tbody>
                <tr><td class="tt">名称</td><td class="tv" id="name" colspan="3"></td></tr>
                <tr><td class="tt">排序号</td><td class="tv" id="sort" colspan="3"></td></tr>
                <tr><td class="tt">类型</td><td class="tv" id="ismu_name" colspan="3"></td></tr>
                <tr><td class="tt">大小</td><td class="tv" id="size" colspan="3"></td></tr>
                <tr><td class="tt">位置</td><td class="tv" id="muid_name" colspan="3"></td></tr>
                <tr><td class="tt">查看授权</td><td class="tv" id="auth_name" colspan="3"></td></tr>
                <tr><td class="tt">备注</td><td class="tv" id="explain" colspan="3"></td></tr>
                </tbody>
            </table>
        </div>
        <div><?php include '../public/opt_browse.php'?></div>
    </div>
</div>
<script>
    var param_id = getQueryVariable('id') || 0;

    layui.use(['form', 'layer', "laytp",'element','dropdown','laypage','table','soulTable'], function() {
        var laypage = layui.laypage, table = layui.table, dropdown = layui.dropdown, form = layui.form, soulTable = layui.soulTable,element = layui.element;

        facade.ajax({url: ask_engin_mu_show, data:{id: param_id}}).done(function(res){
            if (res.code === 2000) {
                var data = res.data.data;

                $("#name").text(data.name);
                $("#sort").text(data.sort);
                $("#ismu_name").text(data.ismu_name);
                $("#size").text(data.size+' M');
                $("#muid_name").text(data.muid_name);
                $("#auth_name").text(data.auth_name);
                $("#explain").text(data.explain);





                // $(".pageshowtitle").text('文件夹信息');
                render_from();
            }
        });

        public_get_readsandlog('engin_mu', param_id);
        showpage_dropopt();
    });




</script>
</body>
</html>




